package com.example.pertecttime.activity.main;

import android.util.Log;

import com.example.pertecttime.entity.test;

/**
 * Created by 半生瓜 on 2017/7/20.
 */

public class mainPresenter extends mainContract.Presenter{
    @Override
    void dotest(test t) {
     rxManager.add(modle.gettest(t)
     .subscribe(testBaseResult -> {
              Log.i("login", "登陆" + testBaseResult);

             },
             e->
             {    e.printStackTrace();
                 Log.d("错误",e.getMessage());

             }
     ));
    }


}
